<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript" src="/js/cxmlbuilder.js"></script>
<script type="text/javascript" src="/js/clocationlistbuilder.js"></script>
<script type="text/javascript">
function js_clicked() {
	alert("Testing js_clicked()");
	document.getElementById("XML_PARAM").value = "<CRequest><COperationType>SendMessage</COperationType><CRequestData><CLocationIds><CLocationId>LAW_4</CLocationId><CLocationId>LAW_7</CLocationId><CLocationId>LAW_10</CLocationId><CLocationId>LAW_13</CLocationId></CLocationIds></CRequestData></CRequest>";
	alert(document.getElementById("XML_PARAM").value);
}
</script>
</head>
<body>
<form method="post" name="add_dept_form" enctype="multipart/form-data" action="/operations/message/SendMessage" target="upload_target">
<table width=400>
<input type="hidden" name="XML_PARAM" id="XML_PARAM" value="hidden" /> 
<tr><td><b>Department Logo</b></td>
<td><input type="file"  name="DEPT_FILE" ></td></tr>
<tr><br><br><td align=center><input type=SUBMIT name=add_dept  value="Add" onClick="js_clicked()" ><div id="message"></div></td></tr>
<iframe id="upload_target" name="upload_target" src="" style="width:0;height:0;border:0px solid #fff;"></iframe>
</form>
</table>

</body>
</html>